package com.weifly.weistock.web.controller.vo;

import com.weifly.weistock.core.util.grid.GridPricePoint;

import java.util.List;

/**
 * 股票配置VO
 *
 * @author weifly
 * @since 2019/8/13
 */
public class StockConfigVO {

    private String stockCode; // 代码
    private String stockName; // 名称
    private String exchangeId; // 交易所ID，0-深圳，1-上海
    private Boolean open; // 是否开启
    private Double basePrice; // 基准价格
    private Integer tradeUnit; // 每次交易量
    private Double step; // 网格间距
    private Boolean creditBuy;  // 融资买入
    private List<GridPricePoint> gridPriceList;

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public String getExchangeId() {
        return exchangeId;
    }

    public void setExchangeId(String exchangeId) {
        this.exchangeId = exchangeId;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public Double getBasePrice() {
        return basePrice;
    }

    public void setBasePrice(Double basePrice) {
        this.basePrice = basePrice;
    }

    public Integer getTradeUnit() {
        return tradeUnit;
    }

    public void setTradeUnit(Integer tradeUnit) {
        this.tradeUnit = tradeUnit;
    }

    public Double getStep() {
        return step;
    }

    public void setStep(Double step) {
        this.step = step;
    }

    public Boolean getCreditBuy() {
        return creditBuy;
    }

    public void setCreditBuy(Boolean creditBuy) {
        this.creditBuy = creditBuy;
    }

    public List<GridPricePoint> getGridPriceList() {
        return gridPriceList;
    }

    public void setGridPriceList(List<GridPricePoint> gridPriceList) {
        this.gridPriceList = gridPriceList;
    }
}
